package com.tree.backend.service.impl;

import com.tree.backend.controller.ProductionEfficiencyController;
import com.tree.backend.entity.pojo.ProductionEfficiency;
import com.tree.backend.entity.vo.InnovationCostData;
import com.tree.backend.mapper.ProductionEfficiencyMapper;
import com.tree.backend.service.IProductionEfficiencyService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 生产效能记录表，记录各党组织对应的生产单元效能数据 服务实现类
 * </p>
 *
 * @author tree
 * @since 2025-10-15
 */
@Service
@RequiredArgsConstructor
public class ProductionEfficiencyServiceImpl extends ServiceImpl<ProductionEfficiencyMapper, ProductionEfficiency> implements IProductionEfficiencyService {

    private final ProductionEfficiencyMapper productionEfficiencyMapper;
    @Override
    public List<InnovationCostData> costControl() {
        return productionEfficiencyMapper.costControl();
    }
}
